home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19961006-19970104 / 000269_news@columbia.edu _Fri Dec 6 16:08:09 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.8.3/8.8.3) with ESMTP id QAA08095 for <kermit.misc@watsun.cc.columbia.edu>; Fri, 6 Dec 1996 16:08:09 -0500 (EST)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.8.3/8.8.3) id QAA13987 for kermit.misc@watsun; Fri, 6 Dec 1996 16:08:06 -0500 (EST)
  4. Path: news.columbia.edu!panix!news.panix.com!usenet
  5. From: Kurt Rosenhagen <kjr@panix.com>
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: dialing macro for dialback modem
  8. Date: Fri, 06 Dec 1996 16:09:22 -0500
  9. Organization: Extratek Inc.
  10. Lines: 34
  11. Message-ID: <32A88B82.41C67EA6@panix.com>
  12. NNTP-Posting-Host: kjr.dialup.access.net
  13. Mime-Version: 1.0
  14. Content-Type: text/plain; charset=us-ascii
  15. Content-Transfer-Encoding: 7bit
  16. X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 4.1.3_U1 sun4m)
  17.  
  18. Ive modified an existing macro for dialing in to a dialback modem. When
  19. the dialback occurs, an "INPUT" command is executed, and the message
  20. "Cant condition line for input" appears five times (there are siz input
  21. commands after dialback). The message "Connecting to cua0" etc apperas,
  22. script file is finished as kermit now expects input from keyboaard.
  23.  
  24. Inserting "WAIT" command only delays modem from answering dialback.
  25.  
  26. I've checked the FAQ and "Using C-Kermit". Any suggestions?
  27.  
  28. Text of the macro follows:
  29.  
  30.  define mdialback -
  31.   dial \%1, -
  32.   while fail { sleep 30 , redial}, -
  33.   sleep 5, -
  34.   output \13, -
  35.   input 30 login:, -
  36.   output whoami\13, -
  37.   input 30 Password:, -
  38.   output whatami\13, -
  39. {THIS IS THE POINT AT WHICH DIALBACK OCCURS}
  40.   input 30 login:, -
  41.   output whoami\13, -
  42.   input 30 TermServ>, -
  43.   output whereami\13, -
  44.   input 30 login:, -
  45.   output whoami\13, -
  46.   input 30 Password:, -
  47.   output whatami\13, -
  48.   input 30 (cr=>vt100):, -
  49.   output vt100\13, -
  50.   input 30 systemprompt>, -
  51.   c